CC = g++
CFLAGS = -g
all: linear confdata/confdata
linear: linear.o common/syscomm.o common/dataconf.o common/utils.o common/dirclass.o
	$(CC) $(CFLAGS) -o linear linear.o common/syscomm.o common/dataconf.o common/utils.o common/dirclass.o
confdata/confdata: confdata/confdata.o common/dirclass.o common/utils.o
	$(CC) $(CFLAGS) -o confdata/confdata confdata/confdata.o common/dirclass.o common/utils.o

.PHONY: clean
clean:
	-rm linear *.o confdata/confdata confdata/*.o common/*.o
